package cc.lishixi.book.service.api;

import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;


public interface BaseService<T> {
    void setJdbcTemplate(JdbcTemplate jdbcTemplate);

    public List<T> list();

    public boolean delete(Integer id);

    public boolean edit(T t);

    public boolean add(T t);
}
